package org.elucid.chess;

import java.util.List;

import org.elucid.chess.model.Game;
import org.elucid.chess.model.Move;

public class HumanPlayer extends AbstractPlayer {

	public HumanPlayer(Boolean isWhite, Game game) {
		super(isWhite, game);
	}
	
	@Override
	public Move chooseMove() throws Exception {
		
		List<Move> moves = game.listLegalMoves();
		
		return moves.get(0);
	}

}
